package com.example.spring_aop.proxy.static_model;

import com.example.spring_aop.proxy.UserService;

/**
 * @className: Main
 * @author: 芃
 * @description:
 * @date: 2024/12/30 14:55
 */
public class Main {
    //静态代理模式
    public static void main(String[] args) {
        UserService userService = new UserServiceStaticProxy();
        userService.login("哈哈哈","123456");

        User user = new User("芃娃","123456");
        userService.register(user);
    }
}
